package cc.geguo;

public class Main {

    public static void main(String[] args) {

        Weapon jinggubang = new Jingubang();
        Weapon dingpa = new Dingpa();

        SunWukong sunWukong = new SunWukong();
        sunWukong.useWeapon(jinggubang);
        sunWukong.useWeapon(dingpa);

        PigZhu pigZhu = new PigZhu();
        pigZhu.useWeapon(jinggubang);
        pigZhu.useWeapon(dingpa);

    }
}
